package com.summer.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>活动报名
 *
 * @author summer502
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "tb_sign")

public class TbSign implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 活动报名id
     */
    @TableId(value = "sign_id", type = IdType.AUTO)
    private Integer signId;

    /**
     * 活动id
     */
    @TableField("activity_id")

    private Integer activityId;

    /**
     * 活动报名状态：'0、已报名待审核；1、审核通过；2、审核驳回 3自己取消报名 ',
     */
    @TableField("activity_status")

    private String activityStatus;

    /**
     * 创建时间
     */
    @ApiModelProperty(name = "create_time", value = "创建时间")

    @TableField(fill = FieldFill.INSERT)
    private Date create_time;

    /**
     * 修改时间
     */
    @ApiModelProperty(name = "update_time", value = "修改时间")

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date update_time;

    /**
     * 是否删除
     */
    @TableField("is_delete")
    private Integer isDelete;
    /**
     * 报名用户id
     */
    @TableField("sign_user_id")
    private String sign_user_id;
    /*
    报名用户姓名
    */
    @TableField("sign_user_name")
    private String  sign_user_name;

}
